
import Vue from 'vue'

const goods = {
    state: {
        cartList: {},
        cartNum: 0,
        useInfo:{
            token: localStorage.getItem('token'),
            device: 'gzh',
        }
    },

    mutations: {

        INIT_CART: (state, list) => {
            state.cartList = list;
        }
    },

    actions: {
        
    }
}

export default goods
